package com.xnyzc.lhy.mis.entity.cms.journal;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 系统日志表
*
* @author zhaolijie
* @since 2019-09-25
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysJournal对象", description="系统日志表")
public class OaSysJournal implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value="journal_id", type = IdType.INPUT)
    private Long journalId;

    @ApiModelProperty(value = "操作菜单")
    private String operationMenu;

    @ApiModelProperty(value = "操作用户")
    private String operationUser;

    @ApiModelProperty(value = "所在公司")
    private String ascriptionCompany;

    @ApiModelProperty(value = "所在部门")
    private String attributionDepartment;

    @ApiModelProperty(value = "url")
    private String url;

    @ApiModelProperty(value = "提交方式")
    private String submitModel;

    @ApiModelProperty(value = "操作者IP")
    private String operatorIp;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String JOURNAL_ID = "journal_id";

    public static final String OPERATION_MENU = "operation_menu";

    public static final String OPERATION_USER = "operation_user";

    public static final String ASCRIPTION_COMPANY = "ascription_company";

    public static final String ATTRIBUTION_DEPARTMENT = "attribution_department";

    public static final String URL = "url";

    public static final String SUBMIT_MODEL = "submit_model";

    public static final String OPERATOR_IP = "operator_ip";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
